[self.navigationController popToViewController:[self.navigationController.viewControllers objectAtIndex:2] animated:YES];
// 或
for (UIViewController *controller inself.navigationController.viewControllers) {
if ([controller isKindOfClass:[XXXController(要跳回的Controller) class]]) {
[self.navigationControllerpopToViewController:controller animated:YES];
}
}
栈中抽取
**粗体** _斜体_ [链接](http://example.com) `代码` - 列表 > 引用
。你还可以使用@
来通知其他用户。